package com.xianyun.site.iblog.blog.common.exception;

import com.alibaba.cola.exception.BizException;

/**
 * 文章未找到异常
 * @author mac_zyj
 */
public class ArticleNotFoundException extends BizException {
    private static final String DEFAULT_ERROR_CODE = "BLOG_VIEW_NOT_FOUND_ERROR";

    public ArticleNotFoundException(String errMessage) {
        super(DEFAULT_ERROR_CODE,errMessage);
    }

    public ArticleNotFoundException(String errCode, String errMessage) {
        super(errCode, errMessage);
    }

    public ArticleNotFoundException(String errMessage, Throwable e) {
        super(errMessage, e);
    }

    public ArticleNotFoundException(String errorCode, String errMessage, Throwable e) {
        super(errorCode, errMessage, e);
    }
}
